<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="ihis.model.*" %>
<%@ page import="ihis.core.*" %>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Task List</title>
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.css"/>
    <script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.js"></script>
</head>
<body>

<%
	IHISCore core = new IHISCore();
	GeneralFilter filter = new GeneralFilter();
	ScheduleReport report = (ScheduleReport) core.getReport(IHISConstants.REPORT_PERSONAL_SCHEDULE, filter);
	Schedule schedule = report.getSummary();
	if(schedule == null){
		schedule = new Schedule();
		schedule.setCompletedCnt(-1);
		schedule.setDelayedCnt(-1);
		schedule.setInProgressCnt(-1);
		schedule.setPlannedCnt(-1);
	}
%>


	<div id="task" data-role="page">
	
    <script type="text/javascript">
    </script>
    
    
		<div data-role="header">
			<a href="report/schedule.jsp" data-icon="back" data-rel="back" data-transition="reverse">Back</a>
			<h1>할일 목록</h1>
			<a href="../menu.html" data-icon="home" data-transition="flip">Home</a>
		</div>
	
		<div data-role="content">
			<ul data-role="listview" data-inset="false" data-filter="true">
				<li data-role="list-divider">
					<h4>서브팀1</h4>
					<span class="ui-li-count">5</span>
				</li>
				<li>
					<h4>task name abcedfegefefefef</h4>
					<p>홍길동 / 서브팀1 / 진행<p>
				</li>
				<li>
					<h4>task name abcedfegefefefefsdfsdf</h4>
					<p>김길동 / 서브팀1 / 완료<p>
				</li>
				
				<li data-role="list-divider">
					<h4>sub team 2</h4>
					<span class="ui-li-count">5</span>
				</li>
				<li>
					<h4>task name abcedfegefefefef</h4>
					<p>John / sub team 2 / In progress<p>
				</li>
				<li>
					<h4>task name abcedfegefefefefsdfsdf</h4>
					<p>김길동 / sub team 2 / In Progress<p>
				</li>
			</ul>
		</div> 
		
		<div data-role="footer">
			<a href="task.jsp" data-icon="refresh" data-rel="refresh" data-transition="flip">Refresh</a>
			<a href="task.jsp" data-icon="refresh" data-rel="refresh" data-transition="flip">Name</a>
			<a href="task.jsp" data-icon="refresh" data-rel="refresh" data-transition="flip">Team</a>
			<a href="task.jsp" data-icon="refresh" data-rel="refresh" data-transition="flip">Status</a>
		</div>
		
	</div>
</body>
</html>